package Day04;

public class Test9 {
    public static void main(String[] args) {
        double m = 100.8;
        double n =20.6;
        double add1;
        double sub1;
        double mul1;
        double div1;
        add1=m+n;
        sub1=m-n;
        mul1=m*n;
        div1=m/n;
        System.out.println("m和n的和为："+add1);
        System.out.println("m和n的差为："+sub1);
        System.out.println("m和n的积为："+mul1);
        System.out.println("m和n的商为："+div1);

    }
}
